package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 当前全局身份类型
    */
@ApiModel(value="com-lanchetech-entity-CurrentIdentity")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CurrentIdentity implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private Long id;

    /**
    * 用户编号
    */
    @ApiModelProperty(value="用户编号")
    private Long userId;

    /**
    * 当前切换的全局身份类型
    */
    @ApiModelProperty(value="当前切换的全局身份类型")
    private Byte allIdentityType;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}